package com.ouc.openplatform.zykt.authManage.service;
import java.util.List;

import com.ouc.openplatform.pojo.EUDataGridResult;
import com.ouc.openplatform.zykt.authManage.dto.NJ_RoleInfoDTO;
import com.ouc.openplatform.zykt.authManage.model.NJ_RoleInfo;

import io.terminus.pampas.client.Export;
public interface NJ_ClientRoleInfoService {
	//1.增加角色信息-----sxl
	@Export(paramNames = {"nj_roleinfoDTO"})
	public int saveRoleInfo(NJ_RoleInfoDTO nj_roleinfoDTO);
	//2.删除角色信息-----sxl
	@Export(paramNames = {"roleid"})
	public int deleteRoleInfo(int roleid);
	//3.修改角色信息-----sxl
	@Export(paramNames = {"nj_roleinfoDTO"})
	public int updateRoleInfo(NJ_RoleInfoDTO nj_roleinfoDTO);
	//4.查询所有角色权限信息(DataGrid专用)-----sxl
	@Export(paramNames = {"page","rows"})
	public EUDataGridResult getAllRoleInfoByPage(int page, int rows);
	//5.判断角色名是否存在-----sxl
	@Export(paramNames = {"rolename","roleid"})
	public int IsRoleName(String rolename,int roleid);
	//6.查询所有角色权限信息-----sxl
	@Export(paramNames = {"roleInfo"})
	public List<NJ_RoleInfo> getAllRoleInfo(NJ_RoleInfo roleInfo);
}
